
import javax.xml.ws.Endpoint;

import assignmentImplementation.KeyValueBaseImpl;
import assignmentImplementation.IndexImpl;


public class Main {
	/**
	 * @param args
	 * @throws InterruptedException 
	 */

	public static void main(String[] args) throws InterruptedException {


		long startTime;
		
		KeyValueBaseImpl k;
		IndexImpl i = new IndexImpl();
		k = new KeyValueBaseImpl(i , "./.KeyValueStore");
		Endpoint.publish("http://localhost:1234/keyvalue", k);
		System.out.println("Server started");
		i.throughputCalc();

		
	}

}
